class Person2 {
  constructor(props) {
    this.props = props;
  }

  say() {
    console.log(this.props);
  }
}

export default Person2;
// module.exports = Person2;
